﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Cargo_send.aspx.cs" Inherits="_Default" %>

<%@ Register Src="left1.ascx" TagName="left1" TagPrefix="uc4" %>

<%@ Register Src="validate.ascx" TagName="validate" TagPrefix="uc3" %>
<%@ Register Src="head.ascx" TagName="head" TagPrefix="uc1" %>
<%@ Register Src="foot.ascx" TagName="foot" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>发布货源信息</title>
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/css.css" rel="stylesheet" type="text/css" />
</head>
<body style="margin-top:0px; margin-bottom: 0px;">
    <TABLE WIDTH=770 BORDER=0 align="center" CELLPADDING=0 CELLSPACING=0>
        <form id="form1" runat="server">
	<TR align="center"  >
		<TD WIDTH=770 height="38" COLSPAN=3  class="css" valign="top"> 
            <uc1:head ID="Head2" runat="server" />
</TD>
  </TR>
	<TR>
		<TD ROWSPAN=2 valign=top style="background-image: url(images/default_3.gif)">
            <uc4:left1 ID="Left1_1" runat="server" />
      </TD>
		<TD COLSPAN=2 style="height: 3px">			
            <asp:Image ID="Image1" runat="server" ImageUrl="images/default_4.gif" /></TD>
	</TR>
	<TR>
		<TD COLSPAN=2 valign="top" style="width:571px;height: 635px">
            <br />
            <br />
            <br />
            <br />
            &nbsp;<table border="1" align="center" cellspacing="0" class="css" style="width: 457px; height: 491px" bordercolor="#adbdce">
  <tr align="center">
    <td height="40" colspan="2">发布货源信息</td>
  </tr>
  <tr>
    <td  align="right" style="width: 115px; height: 29px"><asp:RequiredFieldValidator
        ID="RequiredFieldValidator1" runat="server" ControlToValidate="CargoName"
        ErrorMessage="货物名称必须填写" Width="13px">*</asp:RequiredFieldValidator>货物名称：</td>
    <td width="239" >&nbsp;<asp:TextBox ID="CargoName" runat="server"></asp:TextBox><span style="height: 29px; color: #ff0066;"></span></td>
  </tr>
  <tr>
    <td align="right" style="width: 115px; height: 28px">
        <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="CargoWeight"
            Display="Dynamic" ErrorMessage="输入数字" Type="Integer" Operator="DataTypeCheck">*</asp:CompareValidator>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="CargoWeight"
            Display="Dynamic" ErrorMessage="货物重量必须填写">*</asp:RequiredFieldValidator>货物重量：</td>
    <td style="height: 28px">&nbsp;<asp:TextBox ID="CargoWeight" runat="server" Width="80px"></asp:TextBox>吨&nbsp;
    </td>
  </tr>
  <tr>
    <td align="right" style="width: 115px">
    <%--    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="CargoPrice"
            Display="Dynamic" ErrorMessage="运输价格必须填写">*</asp:RequiredFieldValidator>
        <asp:CompareValidator
        ID="CompareValidator2" runat="server" ControlToValidate="CargoPrice" Display="Dynamic"
        ErrorMessage="请输入数字" Type="Integer" Operator="DataTypeCheck">*</asp:CompareValidator>--%>运输价格：</td>
    <td>&nbsp;<asp:TextBox ID="CargoPrice" runat="server"></asp:TextBox>元
    </td>
  </tr>
  <tr>
    <td align="right" style="width: 115px; height: 29px;">
        <asp:CompareValidator ID="CompareValidator3" runat="server" ControlToValidate="CargoDate"
            ErrorMessage="日期格式错误" Operator="DataTypeCheck" Type="Date">*</asp:CompareValidator>
        <asp:RequiredFieldValidator
        ID="RequiredFieldValidator4" runat="server" ControlToValidate="CargoDate" Display="Dynamic"
        ErrorMessage="发货日期必须填写" Width="1px">*</asp:RequiredFieldValidator>
        发货日期：</td>
    <td rowspan="" style="height: 29px">&nbsp;<asp:TextBox ID="CargoDate" runat="server"></asp:TextBox>例如：2008-5-8</td>
  </tr>
  <tr>
    <td align="right" style="width: 115px; height: 28px;">
        &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="Start"
            Display="Dynamic" ErrorMessage="出发地点不能为空">*</asp:RequiredFieldValidator>出发地点：</td>
    <td style="height: 28px">&nbsp;<asp:TextBox ID="Start" runat="server" MaxLength="50" Width="255px"></asp:TextBox><span style="height: 29px; color: #ff0066;"></span></td>
  </tr>
  <tr>
    <td align="right" style="width: 115px">
        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="Whither"
            ErrorMessage="到达地点不能为空">*</asp:RequiredFieldValidator>到达地点：</td>
    <td>&nbsp;<asp:TextBox ID="Whither" runat="server" Width="253px"></asp:TextBox><span style="height: 29px; color: #ff0066;"></span></td>
  </tr>
  <tr>
    <td align="right" style="width: 115px">
        <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="Linkman"
            ErrorMessage="联系人不能为空">*</asp:RequiredFieldValidator>联系人：</td>
    <td colspan="">&nbsp;<asp:TextBox ID="Linkman" runat="server" Width="80px"></asp:TextBox><span style="height: 29px; color: #ff0066;"></span></td>
  </tr>
  <tr>
    <td align="right" style="width: 115px; height: 26px;">
        <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="Tel" ErrorMessage="联系电话必须是数字"
            MaximumValue="99999999999" MinimumValue="00000000000">*</asp:RangeValidator>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="Tel"
            Display="Dynamic" ErrorMessage="联系电话不能为空">*</asp:RequiredFieldValidator>联系电话：</td>
    <td style="height: 26px">&nbsp;<asp:TextBox ID="Tel" runat="server"></asp:TextBox><span style="height: 29px; color: #ff0066;"></span></td>
  </tr>
  <tr>
    <td align="right" style="width: 115px; height: 32px">有效期限：</td>
    <td style="height: 32px">&nbsp;<asp:DropDownList ID="EffectDate" runat="server">
            <asp:ListItem>1</asp:ListItem>
            <asp:ListItem>2</asp:ListItem>
            <asp:ListItem>3</asp:ListItem>
            <asp:ListItem>4</asp:ListItem>
            <asp:ListItem>5</asp:ListItem>
            <asp:ListItem>6</asp:ListItem>
            <asp:ListItem>7</asp:ListItem>
        </asp:DropDownList>天</td>
  </tr>
  <tr>
    <td align="right" style="width: 115px; height: 89px">备注：</td>
    <td style="height: 89px">&nbsp;<asp:TextBox ID="Bewrite" runat="server" Height="69px" TextMode="MultiLine"
            Width="315px" >无</asp:TextBox></td>
  </tr>
  <tr>
    <td colspan="2" align="center">&nbsp;<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="　发布　" />
        <input id="Button2" type="reset" value="　重置　" />&nbsp;
        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
            ShowSummary="False" />
        <br />
    </td>
  </tr>
</table>
		
		</TD>
	</TR>

	<TR>
		<TD COLSPAN=3 style="height: 45px">
            <uc2:foot ID="Foot1" runat="server" />
        </TD>
	</TR>
	   </form>
</TABLE>
    <uc3:validate ID="Validate1" runat="server" />

</body>
</html>
